<template>
  <div class='ad-mysign bc-gray'>
    <Search :total="total" @get_search="getSearch" />
    <List :listData="listData" @forMore="getMoreInfo">
      <ListModel :listData="listData" :routerDetail="routerDetail" />
    </List>
  </div>
</template>
<script>
import Search from "./model/nav.vue"
import MixIns from '../../../../mixin/mixin.js'
import List from '../../../../components/list.vue'
import ListModel from './model/list'
export default {
  components: {Search,List,ListModel},
  name: "",
  data() {
    return {
      searchInfo:{
        category:"",
      }
    };
  },
  methods: {
    getSearch(val){
      this.searchInfo.category=val
      this.pageInfo.page=1
      this.getListData()
    },
    getMoreInfo(){
      if(!this.moreInfo.show){
        this.pageInfo.page++
        this.getListData()
      }
    }
  },
  created() {},
  mixins:[MixIns]
};
</script>
<style lang="scss" scoped>
.ad-mysign {
  height: 100%;
}
</style>